/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.osdtsystem.dataset;

/**
 * Interface for data points in a data set.
 * @author Matthias Buch-Kromann
 */
public class DataPointWeighted extends DataPoint {
    double weight = 0;

    public DataPointWeighted(double weight, String... features) {
        super(features);
        this.weight = weight;
    }

    @Override
    public double weight() {
        return weight;
    }
}
